package com.hongdee.crm.coupon.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TCrmCarCoupon
 * 类  型:
 * 描  述:
 * 路  径:com.hongdee.crm.coupon.entity
 * 作  者: 术洪超
 * 日  期:2017-02-28 11:06
 */

@Entity
@Table(name = "T_CRM_CAR_COUPON")
public class TCrmCarCoupon extends BaseEntity {

    //使用时间
    @Column(name = "use_date", length = 22, columnDefinition = "BIGINT COMMENT '使用时间'")
    private Long useDate;

    //优惠券号
    @Column(name = "num", length = 255, columnDefinition = "VARCHAR(255) COMMENT '优惠券号'")
    private String num;

    //备注
    @Column(name = "remart", length = 255, columnDefinition = "VARCHAR(255) COMMENT '备注'")
    private String remart;

    //状态 0 未打印 1已打印 2已使用
    @Column(name = "status", length = 16, columnDefinition = "VARCHAR(16) COMMENT '状态'")
    private String status;

    /**
     * 审核状态（0未提交1卡券业务审核中2卡券财务审核3审核通过）
     */
    @Column(name = "approval_status", length = 16, columnDefinition = "VARCHAR(16) COMMENT '审核状态'")
    private String approvalStatus;

    /**
     * 申请人
     */
    @Column(name = "applicant", length = 32, columnDefinition = "VARCHAR(32) COMMENT '申请人'")
    private String applicant;
    /**
     * 提交时间
     */
    @Column(name = "submit_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '提交时间'")
    private String submitDate;
    /**
     * 审批完成时间
     */
    @Column(name = "finish_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审批完成时间'")
    private String finishDate;

    //工单号
    @Column(name = "gongdan_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '工单号'")
    private String gongdanId;

    //车辆ID
    @Column(name = "usercar_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车辆ID'")
    private String usercarId;

    //活动ID
    @Column(name = "activity_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '活动ID'")
    private String activityId;

    //所属套餐ID
    @Column(name = "combo_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '所属套餐ID'")
    private String comboId;

    //创建日期
    @Column(name = "create_date", length = 22, columnDefinition = "BIGINT COMMENT '创建日期'")
    private Long createDate;

    //工单产值
    @Column(name = "chanzhi", length = 32, columnDefinition = "VARCHAR(32) COMMENT '工单产值'")
    private String chanzhi;

    //有效时间
    @Column(name = "youxiaoqi", length = 22, columnDefinition = "BIGINT COMMENT '有效时间'")
    private Long youxiaoqi;

    //使用说明
    @Column(name = "use_remark", length = 255, columnDefinition = "VARCHAR(255) COMMENT '使用说明'")
    private String useRemark;

    //操作人
    @Column(name = "caozuo_name", length = 255, columnDefinition = "VARCHAR(255) COMMENT '操作人'")
    private String caozuoName;

    //打印人
    @Column(name = "dayin_name", length = 255, columnDefinition = "VARCHAR(255) COMMENT '打印人'")
    private String dayinName;

    //打印时间
    @Column(name = "dayin_date", length = 22, columnDefinition = "BIGINT COMMENT '打印时间'")
    private Long dayinDate;

    //车架号
    @Column(name = "vin", length = 64, columnDefinition = "VARCHAR(64) COMMENT '车架号'")
    private String vin;

    //自动匹配工单号
    @Column(name = "match_order_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '自动匹配工单号'")
    private String matchOrderNum;

    //自动匹配钱数
    @Column(name = "match_amount", length = 32, columnDefinition = "VARCHAR(32) COMMENT '自动匹配钱数'")
    private String matchAmount;

    //车牌号
    @Column(name = "plate_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车牌号'")
    private String plateNum;

    //车主姓名
    @Column(name = "contact_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车主姓名'")
    private String contactName;

    //车主电话
    @Column(name = "contact_phone", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车主电话'")
    private String contactPhone;

    //公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    //发起部门name
    @Column(name = "dept_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '发起部门name'")
    private String deptName;

    //销售人员
    @Column(name = "saler", length = 32, columnDefinition = "VARCHAR(32) COMMENT '销售人员'")
    private String saler;

    //优惠券类型
    @Column(name = "coupon_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '优惠券类型'")
    private String couponType;

    //优惠券余额
    @Column(name = "remainder", length = 32, columnDefinition = "VARCHAR(32) COMMENT '优惠券余额'")
    private String remainder;

    //优惠券余额
    @Column(name = "use_money", length = 32, columnDefinition = "VARCHAR(32) COMMENT '使用金额'")
    private String useMoney;

    public String getUseMoney() {
        return useMoney;
    }

    public void setUseMoney(String useMoney) {
        this.useMoney = useMoney;
    }

    public String getCouponType() {
        return couponType;
    }

    public void setCouponType(String couponType) {
        this.couponType = couponType;
    }

    public String getRemainder() {
        return remainder;
    }

    public void setRemainder(String remainder) {
        this.remainder = remainder;
    }

    public String getSaler() {
        return saler;
    }

    public void setSaler(String saler) {
        this.saler = saler;
    }

    public String getApplicant() {
        return applicant;
    }

    public void setApplicant(String applicant) {
        this.applicant = applicant;
    }

    public String getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(String submitDate) {
        this.submitDate = submitDate;
    }

    public String getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(String finishDate) {
        this.finishDate = finishDate;
    }

    public String getApprovalStatus() {
        return approvalStatus;
    }

    public void setApprovalStatus(String approvalStatus) {
        this.approvalStatus = approvalStatus;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Long createDate) {
        this.createDate = createDate;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public Long getUseDate() {
        return useDate;
    }

    public void setUseDate(Long useDate) {
        this.useDate = useDate;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getRemart() {
        return remart;
    }

    public void setRemart(String remart) {
        this.remart = remart;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getGongdanId() {
        return gongdanId;
    }

    public void setGongdanId(String gongdanId) {
        this.gongdanId = gongdanId;
    }

    public String getUsercarId() {
        return usercarId;
    }

    public void setUsercarId(String usercarId) {
        this.usercarId = usercarId;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getComboId() {
        return comboId;
    }

    public void setComboId(String comboId) {
        this.comboId = comboId;
    }

//    public Long getCrateDate() {
//        return crateDate;
//    }
//
//    public void setCrateDate(Long crateDate) {
//        this.crateDate = crateDate;
//    }

    public String getChanzhi() {
        return chanzhi;
    }

    public void setChanzhi(String chanzhi) {
        this.chanzhi = chanzhi;
    }

    public Long getYouxiaoqi() {
        return youxiaoqi;
    }

    public void setYouxiaoqi(Long youxiaoqi) {
        this.youxiaoqi = youxiaoqi;
    }

    public String getUseRemark() {
        return useRemark;
    }

    public void setUseRemark(String useRemark) {
        this.useRemark = useRemark;
    }

    public String getCaozuoName() {
        return caozuoName;
    }

    public void setCaozuoName(String caozuoName) {
        this.caozuoName = caozuoName;
    }

    public String getDayinName() {
        return dayinName;
    }

    public void setDayinName(String dayinName) {
        this.dayinName = dayinName;
    }

    public Long getDayinDate() {
        return dayinDate;
    }

    public void setDayinDate(Long dayinDate) {
        this.dayinDate = dayinDate;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getMatchOrderNum() {
        return matchOrderNum;
    }

    public void setMatchOrderNum(String matchOrderNum) {
        this.matchOrderNum = matchOrderNum;
    }

    public String getMatchAmount() {
        return matchAmount;
    }

    public void setMatchAmount(String matchAmount) {
        this.matchAmount = matchAmount;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }
}
